import React from 'react';
import {Row, Col} from 'antd'
import NavLeft from './components/pages/navLeft'
import Header from './components/pages/header'
import './assets/css/common.scss'

class App extends React.Component {
  render() {
    return (
      <div>
        <Row className="container">
          <Col span="3" className="nav-left">
              <NavLeft/>
          </Col>
          <Col span="21" className="main">
              <Header  history={this.props.history}/>
              <Row className="content">
                  {this.props.children}
              </Row> 
          </Col>
        </Row>
      </div>
    );
  }
}

export default App;
